package com.frxuexi.apps

import com.frxuexi.apps.model.ApiResponse
import com.frxuexi.apps.model.RecordsData
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {

    @GET("/api/news/page?size=10&page=1")
    suspend fun getNews(@Query("type") type:Int):ApiResponse<RecordsData>
}